package com.bzkj.basicinfo.domain.ncc;

import com.bzkj.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * NCC商品信息表
 */
@Data
public class NccBasicSkuInfo extends BaseEntity
{
    private Integer id;
    /**
     * 物料主键
     */
    private String pk_material;
    /**
     * 物料主键
     */
    private String pkMaterial;
    /**
     * 商品代码
     */
    private String code;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 简称
     */
    private String materialshortname;
    /**
     * 规格
     */
    private String materialspec;
    /**
     * 助记码
     */
    private String materialmnecode;
    /**
     * 型号
     */
    private String materialtype;
    /**
     * 物料分类
     */
    private String pk_marbasclass;
    /**
     * 单位
     */
    private String pk_measdoc;
    /**
     * 产地
     */
    private String prodarea;
    /**
     * 生产厂家
     */
    private String manufactory;
    /**
     * 所属企业
     */
    private String pk_org;
    /**
     * 所属集团
     */
    private String pk_group;
    /**
     * 原始版本
     */
    private String pk_source;
    /**
     * 启用状态
     */
    private String enable_state;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 审核人
     */
    private String modifier;
    /**
     * 审核时间
     */
    private Date modifierTime;
    /**
     * 修改时间
     */
    private Date tsTime;
    /**
     * 预留字段
     */
    private String def1;
    /**
     * 预留字段
     */
    private String def2;
    /**
     * 预留字段
     */
    private String def3;
    /**
     * 预留字段
     */
    private String def4;
    /**
     * 预留字段
     */
    private String def5;
    /**
     * 预留字段
     */
    private String def9;
    /**
     * 预留字段
     */
    private String def8;


    private String pkOrgName;

    private String danweiName;

    private String nccStuName;
    /**
     * 换算比例
     */
    private String measrate;

    private Boolean isCreateDynamics; // 是否创建动态表(true是false否)

    private Integer lifespan;
    private String lifespanNum;
    private Integer resetData;
    private String resetDataNum;
    private Integer signatoryNum;
    private Integer restrictions;
    // 物料GMP编码
    private String graphid;
    // 物料辅助属性用于判断是否为库存状态、生产商管理
    private String pK_MARASSTFRAME;
    //物料辅助属性code
    private String frameCode;

    public String getFrameCode() {
        return frameCode;
    }

    public void setFrameCode(String frameCode) {
        this.frameCode = frameCode;
    }

    public String getDanweiName()
    {
        return danweiName;
    }

    public void setDanweiName(String danweiName)
    {
        this.danweiName = danweiName;
    }

    public String setNccStuName()
    {
        return nccStuName;
    }

    public void setNccStuName(String nccStuName)
    {
        this.nccStuName = nccStuName;
    }

    public String getMeasrate()
    {
        return measrate;
    }

    public void setMeasrate(String measrate)
    {
        this.measrate = measrate;
    }

    public Boolean getCreateDynamics()
    {
        return isCreateDynamics;
    }

    public void setCreateDynamics(Boolean createDynamics)
    {
        isCreateDynamics = createDynamics;
    }

    public NccBasicSkuInfo()
    {
    }

    public NccBasicSkuInfo(Integer id, String pk_material, String code, String name, String materialshortname, String materialspec, String materialmnecode, String materialtype, String pk_marbasclass, String pk_measdoc, String prodarea, String manufactory, String pk_org, String pk_group, String pk_source, String enable_state, String creator, Date createTime, String modifier, Date modifierTime, Date tsTime, String def1, String def2, String def3, String def4, String def5)
    {
        this.id = id;
        this.pk_material = pk_material;
        this.code = code;
        this.name = name;
        this.materialshortname = materialshortname;
        this.materialspec = materialspec;
        this.materialmnecode = materialmnecode;
        this.materialtype = materialtype;
        this.pk_marbasclass = pk_marbasclass;
        this.pk_measdoc = pk_measdoc;
        this.prodarea = prodarea;
        this.manufactory = manufactory;
        this.pk_org = pk_org;
        this.pk_group = pk_group;
        this.pk_source = pk_source;
        this.enable_state = enable_state;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifierTime = modifierTime;
        this.tsTime = tsTime;
        this.def1 = def1;
        this.def2 = def2;
        this.def3 = def3;
        this.def4 = def4;
        this.def5 = def5;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getPk_material()
    {
        return pk_material;
    }

    public void setPk_material(String pk_material)
    {
        this.pk_material = pk_material;
    }

    public String getPkMaterial() {
        return pkMaterial;
    }

    public void setPkMaterial(String pkMaterial) {
        this.pkMaterial = pkMaterial;
    }

    public String getDef8() {
        return def8;
    }

    public void setDef8(String def8) {
        this.def8 = def8;
    }

    public String getDef9() {
        return def9;
    }

    public void setDef9(String def9) {
        this.def9 = def9;
    }

    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getMaterialshortname()
    {
        return materialshortname;
    }

    public void setMaterialshortname(String materialshortname)
    {
        this.materialshortname = materialshortname;
    }

    public String getMaterialspec()
    {
        return materialspec;
    }

    public void setMaterialspec(String materialspec)
    {
        this.materialspec = materialspec;
    }

    public String getMaterialmnecode()
    {
        return materialmnecode;
    }

    public void setMaterialmnecode(String materialmnecode)
    {
        this.materialmnecode = materialmnecode;
    }

    public String getMaterialtype()
    {
        return materialtype;
    }

    public void setMaterialtype(String materialtype)
    {
        this.materialtype = materialtype;
    }

    public String getPk_marbasclass()
    {
        return pk_marbasclass;
    }

    public void setPk_marbasclass(String pk_marbasclass)
    {
        this.pk_marbasclass = pk_marbasclass;
    }

    public String getPk_measdoc()
    {
        return pk_measdoc;
    }

    public void setPk_measdoc(String pk_measdoc)
    {
        this.pk_measdoc = pk_measdoc;
    }

    public String getProdarea()
    {
        return prodarea;
    }

    public void setProdarea(String prodarea)
    {
        this.prodarea = prodarea;
    }

    public String getManufactory()
    {
        return manufactory;
    }

    public void setManufactory(String manufactory)
    {
        this.manufactory = manufactory;
    }

    public String getPk_org()
    {
        return pk_org;
    }

    public void setPk_org(String pk_org)
    {
        this.pk_org = pk_org;
    }

    public String getPk_group()
    {
        return pk_group;
    }

    public void setPk_group(String pk_group)
    {
        this.pk_group = pk_group;
    }

    public String getPk_source()
    {
        return pk_source;
    }

    public void setPk_source(String pk_source)
    {
        this.pk_source = pk_source;
    }

    public String getEnable_state()
    {
        return enable_state;
    }

    public void setEnable_state(String enable_state)
    {
        this.enable_state = enable_state;
    }

    public String getCreator()
    {
        return creator;
    }

    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getModifier()
    {
        return modifier;
    }

    public void setModifier(String modifier)
    {
        this.modifier = modifier;
    }

    public Date getModifierTime()
    {
        return modifierTime;
    }

    public void setModifierTime(Date modifierTime)
    {
        this.modifierTime = modifierTime;
    }

    public Date getTsTime()
    {
        return tsTime;
    }

    public void setTsTime(Date tsTime)
    {
        this.tsTime = tsTime;
    }

    public String getDef1()
    {
        return def1;
    }

    public void setDef1(String def1)
    {
        this.def1 = def1;
    }

    public String getDef2()
    {
        return def2;
    }

    public void setDef2(String def2)
    {
        this.def2 = def2;
    }

    public String getDef3()
    {
        return def3;
    }

    public void setDef3(String def3)
    {
        this.def3 = def3;
    }

    public String getDef4()
    {
        return def4;
    }

    public void setDef4(String def4)
    {
        this.def4 = def4;
    }

    public String getDef5()
    {
        return def5;
    }

    public void setDef5(String def5)
    {
        this.def5 = def5;
    }

    @Override
    public String toString()
    {
        return "NccBasicSkuInfo{" +
                "id=" + id +
                ", pk_material='" + pk_material + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", materialshortname='" + materialshortname + '\'' +
                ", materialspec='" + materialspec + '\'' +
                ", materialmnecode='" + materialmnecode + '\'' +
                ", materialtype='" + materialtype + '\'' +
                ", pk_marbasclass='" + pk_marbasclass + '\'' +
                ", pk_measdoc='" + pk_measdoc + '\'' +
                ", prodarea='" + prodarea + '\'' +
                ", manufactory='" + manufactory + '\'' +
                ", pk_org='" + pk_org + '\'' +
                ", pk_group='" + pk_group + '\'' +
                ", pk_source='" + pk_source + '\'' +
                ", enable_state='" + enable_state + '\'' +
                ", creator='" + creator + '\'' +
                ", createTime=" + createTime +
                ", modifier='" + modifier + '\'' +
                ", modifierTime=" + modifierTime +
                ", tsTime=" + tsTime +
                ", def1='" + def1 + '\'' +
                ", def2='" + def2 + '\'' +
                ", def3='" + def3 + '\'' +
                ", def4='" + def4 + '\'' +
                ", def5='" + def5 + '\'' +
                '}';
    }
}
